package com.entity;

import java.io.Serializable;

public class OrderItem implements Serializable {
	private Integer itemId;
	private Double dangPrice;
	private Integer count;
	private Integer bookId;
	private String orderId; 
	public OrderItem() {
		super();
	}
	public OrderItem(Integer itemId, Double dangPrice, Integer count,
			Integer bookId, String orderId) {
		super();
		this.itemId = itemId;
		this.dangPrice = dangPrice;
		this.count = count;
		this.bookId = bookId;
		this.orderId = orderId;
	}
	public Integer getItemId() {
		return itemId;
	}
	public void setItemId(Integer itemId) {
		this.itemId = itemId;
	}
	public Double getDangPrice() {
		return dangPrice;
	}
	public void setDangPrice(Double dangPrice) {
		this.dangPrice = dangPrice;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public Integer getBookId() {
		return bookId;
	}
	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	@Override
	public String toString() {
		return "OrderItem [itemId=" + itemId + ", dangPrice=" + dangPrice
				+ ", count=" + count + ", bookId=" + bookId + ", orderId="
				+ orderId + "]";
	}
}
